/*Not running / tested.*/

#ifndef __HEADER_BULLYALGO
#define __HEADER_BULLYALGO
#define DT 2
#include "clocksync.h"

extern void start_bullyalgo(int argc, char *argv[]);
extern void *appsendbully();
extern void *apprecvbully();
extern void fopen_bully(char *);
typedef struct
{
	int type, machine;
	long iteratn;
	int self_nodeno;
} bullyelectn;

typedef struct
{
	int type;
	int leader;
} coord;

#endif //__HEADER_BULLYALGO
